/**
 * @author: zhangzhulei(zhangzhulei@baidu.com)
 * @file: cookie操作
 */
import Cookies from 'js-cookie'

export const getCookies = (key: string): string => {
  return <string>Cookies.get(key)
}

export const setCookies = (key: string, value: string) => {
  Cookies.set(key, value)
}

export const clearCookie = (key: string) => {
  Cookies.remove(key)
}
